package com.chapter4.duotai.demo2;


//派生类：火枪手
public class Footmen extends Unit{
    public Footmen(){
        //调用父类构造方法
        super(50,5);
    }

    //重写父类方法
    public void move(){
        System.out.println("Footmen move");
    }
}
